package com.caipin.domain.camera;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:16
 * @Description: TODO
 */
public class CourseEvent {
    private String classId;

    private String classroomId;

    private String grade;

    private List<InfosBean> infos;

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public void setClassroomId(String classroomId) {
        this.classroomId = classroomId;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public void setInfos(List<InfosBean> infos) {
        this.infos = infos;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.camera.CourseEvent))
            return false;
        com.caipin.domain.camera.CourseEvent other = (com.caipin.domain.camera.CourseEvent)o;
        if (!other.canEqual(this))
            return false;
        Object this$classId = getClassId(), other$classId = other.getClassId();
        if ((this$classId == null) ? (other$classId != null) : !this$classId.equals(other$classId))
            return false;
        Object this$classroomId = getClassroomId(), other$classroomId = other.getClassroomId();
        if ((this$classroomId == null) ? (other$classroomId != null) : !this$classroomId.equals(other$classroomId))
            return false;
        Object this$grade = getGrade(), other$grade = other.getGrade();
        if ((this$grade == null) ? (other$grade != null) : !this$grade.equals(other$grade))
            return false;
        Object<InfosBean> this$infos = (Object<InfosBean>)getInfos(), other$infos = (Object<InfosBean>)other.getInfos();
        return !((this$infos == null) ? (other$infos != null) : !this$infos.equals(other$infos));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.camera.CourseEvent;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $classId = getClassId();
        result = result * 59 + (($classId == null) ? 43 : $classId.hashCode());
        Object $classroomId = getClassroomId();
        result = result * 59 + (($classroomId == null) ? 43 : $classroomId.hashCode());
        Object $grade = getGrade();
        result = result * 59 + (($grade == null) ? 43 : $grade.hashCode());
        Object<InfosBean> $infos = (Object<InfosBean>)getInfos();
        return result * 59 + (($infos == null) ? 43 : $infos.hashCode());
    }

    public String toString() {
        return "CourseEvent(classId=" + getClassId() + ", classroomId=" + getClassroomId() + ", grade=" + getGrade() + ", infos=" + getInfos() + ")";
    }

    public String getClassId() {
        return this.classId;
    }

    public String getClassroomId() {
        return this.classroomId;
    }

    public String getGrade() {
        return this.grade;
    }

    public List<InfosBean> getInfos() {
        return this.infos;
    }
}

